home *** CD-ROM | disk | FTP | other *** search
- Path: gidora.kralizec.net.au!root
- From: rosko@zeta.org.au (Ross McKay)
- Newsgroups: comp.lang.c++
- Subject: Re: Coding Standards
- Date: Sun, 17 Mar 1996 02:42:11 GMT
- Organization: Soft Technologies
- Message-ID: <4ifquo$srs@gidora.kralizec.net.au>
- References: <4hj8ek$elu@sam.inforamp.net> <4hktar$5o2@galaxy.ucr.edu> <4hsfrc$pmm@sam.inforamp.net> <4i26e8$h9e@B1FF.mindspring.com>
- Reply-To: rosko@zeta.org.au
- NNTP-Posting-Host: dialup7c.syd1.zeta.org.au
- X-Newsreader: Forte Free Agent 1.0.82
-
- rudd@mindspring.com (Justin Rudd) wrote:
- >I agree with the standards you have set out in your post...well...all
- >except this one.
- >>Coding Standards
- >> 3 Naming Conventions
- >>1. All class names should begin with the prefix BELL. Example:
- >>BELLSuperClass.
- >I've worked many jobs where the class names started with TO, B, and a
- >few others. What the letters mean is very simple. They are the
- >abbreviation of the Companies title.
-
- This is how *your* classes can have some guarantee of not being named
- the same as some library's classes, when the compiler does not support
- namespaces. One day, this requirement will disappear, but for now it
- must remain as very few compilers actually have namespaces yet.
-
- >I asked one of the head developers once and he said that it is done
- >because UPPER MANAGEMENT thinks it promotes team unity. *shrug*
- >Don't know about that...but....
-
- ... which demonstrates how the people at the top can be out of touch
- with technical details. A coding standard which supplies this rule
- should also supply a reason for its existence. See the Ellemtel coding
- standard, good explanations for the rules so that the developers
- following it can *learn* as well as write good code.
-
- Cheers,
- ------------------------------------------------------------------
- Ross McKay | snail: GPO Box 562, Sydney NSW 2001 Australia
- Soft Technologies | email: mailto:rosko@zeta.org.au
- Sydney, Australia | URL: http://www.zeta.org.au/~rosko
- ------------------------------------------------------------------
- The opinions expressed are my own, not those of Soft Technologies.
- "The beatings will continue, until staff morale improves."
-
-